/**
 * 所有版权归 广西梧州 陈锦韬 所有
 *
 * @Title: RxMarkDbMust
 * @Package com.rx.core.dbase
 * @Description: 业务表必须有的字段
 * @author: 陈锦韬
 * @date: 2021\6\10 0010
 * @version V1.0
 * @Copyright: 2021 陈锦韬  All rights reserved.
 */
package com.rx.core.dbase;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.rx.core.base.RxBaseConstant;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author: Administrator
 * @Description:用户行为痕迹必须有的字段
 * @date: 2021\6\10 0010
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class RxMarkDbMust extends RxBaseDbMust{
    public static final String CREATE_BY_ID = "create_by_id";
    public static final String CREATE_DATE = "create_date";
    public static final String UPDATE_BY_ID = "update_by_id";
    public static final String UPDATE_DATE = "update_date";
    /**
     * 创建人
     */
    @TableField("CREATE_BY_ID")
    private String  createById;
    /**
     * 创建日期
     */
    @TableField("CREATE_DATE")
    @JSONField(format = RxBaseConstant.DATE_FORMAT_DATETIME)
    private Date createDate;

    /**
     * 更新人
     */
    @TableField("UPDATE_BY_ID")
    private String updateById;

    /**
     * 更新日期
     */
    @TableField("UPDATE_DATE")
    @JSONField(format = RxBaseConstant.DATE_FORMAT_DATETIME)
    private Date updateDate;

}
